﻿<UserControl x:Class="ImageManipulator.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d" d:DesignWidth="640" Height="51">
    
  <Grid x:Name="LayoutRoot" Height="51" VerticalAlignment="Top" Margin="0,0,8,0" >
        <Button Click="Button_Click" Content="Load Image" Margin="0,8,6,11" HorizontalAlignment="Right" Width="79" />
        <ScrollViewer Name="viewer" Height="600" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" Margin="8,0,0,-610" VerticalAlignment="Bottom" d:LayoutOverrides="VerticalAlignment">
            <Image x:Name="MyImage" OpacityMask="#FFA57373"  />
        </ScrollViewer>
        <TextBox HorizontalAlignment="Left" Margin="8,8,0,11" Width="47" TextWrapping="Wrap" Name="message" />
        <Button Click="Save_Click" Content="Save Image" Margin="0,8,103,11" HorizontalAlignment="Right" Width="79" />
        <Button Click="Rotate_Click" Content="Rotate Image" Margin="0,8,103,11" HorizontalAlignment="Right" Width="79" />
        <Button Click="Crop_Click" Content="Crop Image" Margin="0,8,200,11" HorizontalAlignment="Right" Width="79" />
        <Button Click="Resize_Click" Content="Resize Image" Margin="0,8,297,11" Width="79" HorizontalAlignment="Right" />
        <Button Click="Flip_Horizontal_Click" Content="Flip H" Margin="0,8,391,11" Width="79" HorizontalAlignment="Right" />
        <Button Click="Flip_Vertical_Click" Content="Flip V" Margin="0,8,484,11" Width="79" HorizontalAlignment="Right" />  
  </Grid>

</UserControl>
